package com.ruoyi.jypc.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 系部信息对象 jypc_department
 * 
 * @author HWJ
 * @date 2022-10-17
 */
public class Department extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 系部编号 */
    @Excel(name = "系部编号")
    private String departmentid;

    /** 系部名称 */
    @Excel(name = "系部名称")
    private String departmentname;

    /** 系部所在地址 */
    @Excel(name = "系部所在地址")
    private String address;

    /** 系部联系电话 */
    @Excel(name = "系部联系电话")
    private String phon;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setDepartmentid(String departmentid) 
    {
        this.departmentid = departmentid;
    }

    public String getDepartmentid() 
    {
        return departmentid;
    }
    public void setDepartmentname(String departmentname) 
    {
        this.departmentname = departmentname;
    }

    public String getDepartmentname() 
    {
        return departmentname;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setPhon(String phon) 
    {
        this.phon = phon;
    }

    public String getPhon() 
    {
        return phon;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("departmentid", getDepartmentid())
            .append("departmentname", getDepartmentname())
            .append("address", getAddress())
            .append("phon", getPhon())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
